/**
 * 定义ra中面板 ra的结果
 * name属性没有指定
 */
Ext.define('Risk.view.rc.RCCResult', {
    extend: 'Ext.form.FieldSet',
    alias: 'widget.rcresult',
    title: '计算结果',
    layout: 'vbox',
    autoShow: true,
    initComponent: function() {
      //初始化Window中的内容
    	this.items = [
           {
        	   xtype: 'label',
               text: '计算公式： Rc = Nd x PC x Lc【Rc等於個分量之和】'
           },
           {
	        	readOnly : true,
	        	itemId:'r1',
	        	xtype:'textfield',
	        	style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: #000000 1px solid;',
	        	fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
	        	vtype:'number',
	        	name:'rcResult1',
	        	fieldLabel:'R1中的雷雷击建筑內部故障：【RC】'
           },
           {
	        	readOnly : true,
	        	itemId:'r2',
	        	xtype:'textfield',
	        	style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: #000000 1px solid;',
	        	fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
	        	vtype:'number',
	        	name:'rcResult2',
	        	fieldLabel:'R2中的雷击建筑物內部故障：【RC】'
          },
          {
	        	readOnly : true,
	        	itemId:'r3',
	        	xtype:'textfield',
	        	style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: #000000 1px solid;',
	        	fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
	        	//TODO
	        	name:'rcWithRC',
	        	fieldLabel:'用于计算C中可能用到的RC：【RC】'
        }
          
        ];
        this.callParent(arguments);
    }
});